.login {
  width: 100%;
  height: 100%;
  background-image: url('./images/bg.jpg');
  background-size: 100% 100%;

  .login-header {
    position: relative;
    height: 80px;
    width: 100%;
    background-color: rgba(21, 20, 13, 0.5);

    img {
      line-height: 80px;
      width: 50px;
      margin: 0;
      position: absolute;
      top: 50%;
      transform: translate(100px, -50%);
    }

    h1 {
      color: white;
      margin: 0;
      position: absolute;
      top: 50%;
      transform: translate(160px, -50%);
    }
  }

  .login-content {
    width: 400px;
    height: 300px;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 20px 40px;

    h2 {
      text-align: center;
    }
  }
  .ant-form-item-explain-error{
    width: auto;
    white-space:nowrap;
    // position: absolute;
    overflow: hidden;
    background-color: white;
    text-overflow:ellipsis;
    // max-height: 10px;
    div[role="alert"]{
      display: inline;

    }
  }
  
}